#include <stdio.h>
#include <stdlib.h>

#include "color.h"
#include "carton.h"

/* *
 * 1. carton_buddha() is a carton for a 'Buddha', add some funny. 
 * 2. carton_good() is a carton for 'GOOD', praise palyer
 * 3. carton_stupid() is a carton for 'YOU STUPID', taunt palyer
 */
void carton_buddha(void)
{
	printf(YELLOW);
	printf(BLINK);
	printf("\n"
		"                    _oo0oo_	     _____________  \n"
		"                   088888880	    |             |	\n"
		"                   88'   '88	    |  祝你好运!  |	\n"
		"                   (| -_- |)	    | ____________|	\n"
		"                   0\\  =  /0	    |/      		\n"
		"                 ___/'---'\\___					\n"
		"               .' \\\\|     |// '.					\n"
		"              / \\\\|||  :  |||// \\				\n"
		"             /_ ||||| -:- |||||- \\				\n"
		"            |   | \\\\\\  -  ///  | |				\n"
		"            | \\_|  ''\\---/''  |_// |				\n"
		"            \\  .-\\__  '-'  __/-.  /				\n"
		"          ___'. .'  /--.--\\  '. .'___				\n"
		"       ."" '<  '.___\\_<|>_/___.' >'  ''.			\n"
		"      | | : '-  \\'.;'\\ _ /';.'/ - ' : | |		\n"
		"      \\  \\ '_.   \\_ __\\ /__ _/   .-' /  /		\n"
		"  ====='-.____'.___ \\_____/___.-'____.-'=====		\n"
		"                    '=---='						\n"
		"                                                 	\n"
		"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^	\n");
	printf(NONE);
}

void carton_stupid(void)
{
	system("clear");

	printf(YELLOW);
	printf(BLINK);
	printf("\n"
		"=============================================================\n"
		"#     #                                                      \n"
		" #   #   ####  #    #     ####  ##### #    # #####  # #####  \n"
		"  # #   #    # #    #    #        #   #    # #    # # #    # \n"
		"   #    #    # #    #     ####    #   #    # #    # # #    # \n"
		"   #    #    # #    #         #   #   #    # #####  # #    # \n"
		"   #    #    # #    #    #    #   #   #    # #      # #    # \n"
		"   #     ####   ####      ####    #    ####  #      # #####  \n"
		"=============================================================\n");
	printf(NONE);
}

void carton_good(void)
{
	system("clear");

	printf(YELLOW);
	printf(BLINK);
	printf("\n"
		"=================================\n"
		" ####   ####   ####  #####   ##  \n"
		"#    # #    # #    # #    #  ##  \n"
		"#      #    # #    # #    #  ##  \n"
		"#  ### #    # #    # #    #  ##  \n"
		"#    # #    # #    # #    #      \n"
		" ####   ####   ####  #####   ##  \n"
		"=================================\n");
	printf(NONE);
}
